using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Reflection;

namespace Jabr.Logic.Exceptions.Handling
{
    public class SystemInfo : AbstractInfo
    {
        private Dictionary<string, string> ReadSys()
        {
            Dictionary<string, string> ret = new Dictionary<string, string>();
            ret.Add("Timestamp", DateTime.Now.ToString());
            ret.Add("Program", Jabr.Properties.Resources.PROGRAM_NAME);
            ret.Add("Version", Jabr.Properties.Resources.PROGRAM_VERSION);
            ret.Add("CLR", Environment.Version.ToString());
            ret.Add("OS", Environment.OSVersion.VersionString);
            return ret;
        }

        public SystemInfo()
        {
            m_properties = ReadSys();
            m_inner = null;
        }
    }
}
